<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$chapter.name}</title>
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">

</head>
<body style="background-color: rgb(231, 238, 218);padding: 50px;font-family: Microsoft YaHei,serif;">


<div style="text-align: center;padding: 25px 0 15px;font-size: 26px;line-height: 30px;">{$chapter.name}</div>

<div style="white-space: pre-wrap;font-family: Microsoft YaHei,serif;font-size: 16px;line-height: 35px;">{$info.content|raw}</div>
<div class="layui-btn-container">
    {if $chapter.chapter_no > 1}
    <a type="button" class="layui-btn" href="/novel/preview?novel_id={$chapter.novel_id}&chapter_no={$chapter.chapter_no - 1}">上一章</a>
    {/if}
    {if $chapter.chapter_no < $maxChapterNo}
    <a type="button" class="layui-btn" style="float: right;" href="/novel/preview?novel_id={$chapter.novel_id}&chapter_no={$chapter.chapter_no + 1}">下一章</a>
    {/if}
</div>

</body>
</html>